#ifndef S1_H
#define S1_H

#include "i2c.h"


#define	SYSTEM_ON_S1		0x21
#define	KEYKS0				0x40	// start address where ht16k33 read for keyboard

#define HT16K33_ADDRESS_S1  0xE8

i2c_addr_def s1_init(uint8_t address);
void s1_all_init(i2c_addr_def *s1_address, uint8_t s1_addr) ;
uint8_t key_trans(i2c_addr_def KEY_addr);//Translation from Array to Key number
#endif